﻿using MediatR;

namespace Architecture.API.Application.Command.MenuCommand
{
    /// <summary>
    /// 菜单创建命令
    /// </summary>
    public class MenuCreateCommand : IRequest<int>
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string? MenuName { get; set; }

        /// <summary>
        /// 点击菜单需要跳转的地址
        /// </summary>
        public string? Url { get; set; }

        /// <summary>
        /// 父级菜单的Id,顶级菜单是0
        /// </summary>
        public int PID { get; set; }
    }
}
